package com.start.security.components;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.security.web.util.matcher.RequestMatcher;

public class StartAntPatch implements RequestMatcher {

    /**
     * Decides whether the rule implemented by the strategy matches the supplied request.
     *
     * @param request the request to check for a match
     * @return true if the request matches, false otherwise
     */
    @Override
    public boolean matches(HttpServletRequest request) {
        return false;
    }

    /**
     * Returns a MatchResult for this RequestMatcher The default implementation returns
     * {@link Collections#emptyMap()} when {@link MatchResult#getVariables()} is invoked.
     *
     * @param request
     * @return the MatchResult from comparing this RequestMatcher against the
     * HttpServletRequest
     * @since 5.2
     */
    @Override
    public MatchResult matcher(HttpServletRequest request) {
        return RequestMatcher.super.matcher(request);
    }

}
